package com.kc.road.camera.common;

/**
 * @Author linkaitao
 * @Date: 2018/3/1.
 * @Desc:
 */
public class Constants {

    public static final String DEFAULT_ENCODE = "UTF-8";

    public static final String WIFI_EXCHANGE = "wifi.exchange";
    public static final String SCALES_EXCHANGE = "scales.exchange";
    public static final String LOAD_EXCHANGE = "load.exchange";
    public static final String WIFI_ROUTING_TOPIC_KEY = "wifi.topic.key";
    public static final String SCALES_ROUTING_TOPIC_KEY = "scales.topic.key";
    public static final String LOAD_ROUTING_TOPIC_KEY = "load.topic.key";
    public static final String WIFI_TOPIC_QUEUE = "wifi.topic";
    public static final String SCALES_TOPIC_QUEUE = "scales.topic";
    public static final String LOAD_TOPIC_QUEUE = "load.topic";
    public static final String CAMERA_TOPIC_QUEUE = "camera.topic";
    public static final String CAMERA_ROUTING_TOPIC_KEY = "camera.topic.key";
    public static final String CAMERA_EXCHANGE = "camera.exchange";
    public static final String IMG_TOPIC_QUEUE = "img.topic";
    public static final String IMG_ROUTING_TOPIC_KEY = "img.topic.key";
    public static final String IMG_EXCHANGE = "img.exchange";
    public static final String CHARSET_UTF8 = "UTF-8";
    public static final String CHARSET_GBK = "GBK";
    public static final String CHARSET_ISO_8859_1 = "iso-8859-1";
    public static final String SLASH_SYMBOL = "/";
    public static final String SCALES_IMAGES_SUFFIX = ".jpeg";
    // 图片类型  1: 地磅称  2: 摄像头
    public static final int BUS_TYPE_SCALES = 1;
    public static final int BUS_TYPE_CAMERA = 2;
    // 设备类型 1:wifi;2:load;3:scales;4:camera'
    public static final int WIFI_DEVICE = 1;
    public static final int LOAD_DEVICE = 2;
    public static final int SCALES_DEVICE = 3;
    public static final int CAMERA_DEVICE = 4;

}
